import React from 'react';
 class FatherNum extends React.Component{
	constructor(props){
		super(props)
		this.state={
			fathernum:0
		}
	}
	render(){
		<div>
			<button onClick={()=>{
				this.setState({
					fathernum:fathernum+1
				})
			}}>测试</button>
		</div>
	}
}
export default FatherNum